<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>UpdateApp - appBuy</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="css/style.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
        <script type="text/javascript" src="js/cufon-yui.js"></script>
        <script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>
        <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="js/script.js"></script>
        <script type="text/javascript" src="js/coin-slider.min.js"></script>
    </head>

    <%@ include file="../../userBar.jsp" %>
    <%@ include file="../../topBar.jsp" %>
    <%@ include file="../../sideBar.jsp" %>

    <div class="content">
    <div class="content_resize">
      <div class="mainbar">
       <div class="article">
           <jsp:useBean id="product" scope="request" class="model.Product" />
           <h2>Nuevos valores para <jsp:getProperty name="product" property="nombre" />:</h2>
           <form action="/Appbuy/FrontController" method="post"><input name="form" value="updateServlet" type="hidden">
              <input name="modificar" value="true" type="hidden">
              <input name="ventas" value="<jsp:getProperty name="product" property="ventas" />" type="hidden">
              <input name="usuario" value="<jsp:getProperty name="product" property="usuario" />" type="hidden">
              <input name="updateNombre" value="<jsp:getProperty name="product" property="nombre" />" type="hidden">
              <input name="updateSo" value="<jsp:getProperty name="product" property="so" />" type="hidden">
              <br><b>Nombre:</b><br> <input name="nombre" value="<jsp:getProperty name="product" property="nombre" />" type="text" size="50"><br><br>
              <b>Precio:</b><br> <input name="precio" value="<jsp:getProperty name="product" property="precio" />" type="text" size="10"> €<br><br>
              <b>Sistema Operativo:</b><br> <select name="so"><option>iOS</option><option>Android</option><option>Windows Phone</option><option>Blackberry</option></select><br><br>
              <b>Descripción corta:</b><br> <textarea name="descripcionc" cols="75" rows="2"><jsp:getProperty name="product" property="descripcionc" /></textarea><br><br>
              <b>Descripción larga:</b><br> <textarea name="descripcionl" cols="75" rows="10"><jsp:getProperty name="product" property="descripcionl" /></textarea><br><br>
           <button>Modificar</button> </form>
           <div class="clr"></div>
      </div>
     </div>
     <div class="clr"></div>
   </div>
  </div>
    <%@ include file="../../bottomBar.jsp" %>
</html>